package cn.bugstack.domain.activity.service.trial.thread;

import cn.bugstack.domain.activity.adapter.repository.IActivityRepository;
import cn.bugstack.domain.activity.model.valobj.SkuVO;
import java.util.concurrent.Callable;
import jdk.nashorn.internal.codegen.CompilerConstants.Call;
import lombok.Data;

/**
 * @author hsj
 * @date 2025/2/14 11:16
 */
@Data
public class QuerySkuVOFromDBThreadTask implements Callable<SkuVO> {

	private final String goodsId;

	private final IActivityRepository activityRepository;


	@Override
	public SkuVO call() throws Exception {
		return activityRepository.querySkuByGoodsId(goodsId);
	}

}
